Release 10.1A: OpenEdge Data Management:
Database Administration


PROCLUSTER utility

The PROCLUSTER command-line interface provides a user-friendly interface to Clusters. With PROCLUSTER, you can:

Syntax

procluster db-name  
  [enable [-pf params-file] [AI] [BI] [APW=n] [WDOG]  
 | disable | start | stop | terminate | looksalive | isalaive ] 

Parameters

db-name Specifies the fully qualified path of the database. enable

Enables a database so that it will fail over properly. Before the database can be enabled, it must be created and reside on a shared disk. The database must not be in use when it is enabled as a cluster resource.

When you enable a database as a resource using PROCLUSTER enable, Clusters performs the following:

-pf params-file

Specifies the file containing any parameters that the database requires when started.

The parameter file is required to:

AI

Directs PROCLUSTER to enable the after-image files, and an AI writer as resources with a dependency on the database. After-imaging must have previously been enabled on the database. For information on after-imaging, see Chapter 7, " After-imaging."

BI

Directs PROCLUSTER to enable a BI writer as a resource with a dependency on the database.

APW=n

Directs PROCLUSTER to enable n number of asynchronous page writers as a resource with a dependency on the database.

WDOG

Directs PROCLUSTER to enable the Watchdog process as a resource with a dependency on the database.

disable

Removes the identified database resource if the database has been previously enabled for failover. Specifying the database name automatically disables any other optional dependencies specified when the database was enabled.

When you remove a database resource using PROCLUSTER disable, Clusters does the following:

start

Starts a cluster-enabled database. The database must have been previously enabled a cluster resource.

Note: PROCLUSTER will append -pf db-name.pf to the proserve command that is generated to start the database. The start command will fail if this parameter file is not found.

stop

Stops a cluster-protected database. The database must be a cluster resource. When you stop the database with PROCLUSTER stop, Clusters does the following:

terminate

Forces a registered or cluster-protected database to shut down. The database must be a cluster resource.

looksalive

Determines if a resource looks operational by querying the cluster manager cache, if available, or the active system for the status of the specified database. The database must be a cluster resource.

The looksalive exit status returns the following text if the database looks alive:

Resource: db-name State: Looks Alive 

The only state of the database that returns a value of Looks Alive is when the database is enabled and started. All other states will return the following:

Resource: db-name State: Not Alive 

isaliave

Determines if a resource is actually operational by querying the active system for the status of the specified database.

The isalive exit status returns the following text if the database returns a successful query:

Resource: db-name State: Is Alive 

All other states return the following:

Resource: db-name State: Not Alive 

Note


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095